package com.zhong.common.annotation;

import com.zhong.common.core.enums.QueryCondition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *查询字段标记
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface QueryField {

    QueryCondition condition();

    String fieldName() default "";
}
